#!/bin/bash
# musicfinder 1.0 by Saffi
# 2008-04-04

if [[ "$1" = "" ]] ; then
echo -e "Usage: musicfinder {string}"
exit 1
else
for i in /Users/saffi/Music /Users/saffi/Desktop ; do
sudo find ${i} -type f \( -iname "*${1}*mp3" -o -iname "*${1}*wma" -o -iname "*${1}*ogg" \) 2> /dev/null
done
fi
